package com.carcontrol.myplugin3;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Toast;

public class TaoMainActivity extends BaseActivity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_tao);
        findViewById(R.id.img).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {

//                Intent intent = new Intent(that, ProxyActivity.class);
//                intent.putExtra("className", "com.carcontrol.myplugin3.SceondActivity");
//                that.startActivity(intent);

                Toast.makeText(that,"插件", Toast.LENGTH_SHORT).show();
                startActivity(new Intent(that, SceondActivity.class));
//                that.startActivity(new Intent(that, SceondActivity.class));

            }
        });
    }
}
